package samples.spring;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @author wangyuchuan
 * @date 2018/1/9
 */
@Component
public class PostConstrctBean {

    public static final Logger log = LoggerFactory.getLogger(PostConstrctBean.class);

    @PostConstruct
    public void postConstractMethod(){
        log.info("调用此类的 postConstractMethod 方法");
    }
}
